package com.vero.system.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vero.common.core.annotation.Excel;
import com.vero.common.core.web.domain.BaseEntity;

/**
 * 预约接种记录对象 appointment_vaccination
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
public class AppointmentVaccination extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 疫苗ID */
    @Excel(name = "疫苗ID")
    private Long vaccineId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 接种地点 */
    @Excel(name = "接种地点")
    private String location;

    /** 状态（0待接种 1已接种 2已取消） */
    @Excel(name = "状态", readConverterExp = "0=待接种,1=已接种,2=已取消")
    private String status;

    /** 接种日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接种日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaccinationDate;

    /** 疫苗批次号 */
    @Excel(name = "疫苗批次号")
    private String batchNumber;

    @Excel(name = "'预约人姓名'")
    private String userName;
    @Excel(name = "'预约人身份证'")
    private String userIdCard;
    @Excel(name = "'预约人邮箱'")
    private String userEmail;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setVaccineId(Long vaccineId) 
    {
        this.vaccineId = vaccineId;
    }

    public Long getVaccineId() 
    {
        return vaccineId;
    }

    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setVaccinationDate(Date vaccinationDate) 
    {
        this.vaccinationDate = vaccinationDate;
    }

    public Date getVaccinationDate() 
    {
        return vaccinationDate;
    }

    public void setBatchNumber(String batchNumber) 
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber() 
    {
        return batchNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("userId", getUserId())
            .append("vaccineId", getVaccineId())
            .append("appointmentTime", getAppointmentTime())
            .append("location", getLocation())
            .append("status", getStatus())
            .append("vaccinationDate", getVaccinationDate())
            .append("batchNumber", getBatchNumber())
            .append("createTime", getCreateTime())
            .toString();
    }
}
